package com.joolun.weixin.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.joolun.system.domain.ScrmJobGroup;

/**
 * 职能分组Mapper接口
 * 
 * @author joolun
 * @date 2025-03-06
 */
public interface ScrmJobGroupMapper extends BaseMapper<ScrmJobGroup>
{
    /**
     * 查询职能分组
     * 
     * @param id 职能分组主键
     * @return 职能分组
     */
    public ScrmJobGroup selectScrmJobGroupById(Long id);

    /**
     * 查询职能分组列表
     * 
     * @param scrmJobGroup 职能分组
     * @return 职能分组集合
     */
    public List<ScrmJobGroup> selectScrmJobGroupList(ScrmJobGroup scrmJobGroup);

    /**
     * 新增职能分组
     * 
     * @param scrmJobGroup 职能分组
     * @return 结果
     */
    public int insertScrmJobGroup(ScrmJobGroup scrmJobGroup);

    /**
     * 修改职能分组
     * 
     * @param scrmJobGroup 职能分组
     * @return 结果
     */
    public int updateScrmJobGroup(ScrmJobGroup scrmJobGroup);

    /**
     * 删除职能分组
     * 
     * @param id 职能分组主键
     * @return 结果
     */
    public int deleteScrmJobGroupById(Long id);

    /**
     * 批量删除职能分组
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteScrmJobGroupByIds(Long[] ids);
}
